import request from '@/utils/request'

// 查询备忘信息记录列表
export function listMemoRecord(query) {
  return request({
    url: '/customer/memoRecord/list',
    method: 'get',
    params: query
  })
}

// 查询备忘信息记录详细
export function getMemoRecord(id) {
  return request({
    url: '/customer/memoRecord/' + id,
    method: 'get'
  })
}

// 新增备忘信息记录
export function addMemoRecord(data) {
  return request({
    url: '/customer/memoRecord',
    method: 'post',
    data: data
  })
}

// 修改备忘信息记录
export function updateMemoRecord(data) {
  return request({
    url: '/customer/memoRecord',
    method: 'put',
    data: data
  })
}

// 删除备忘信息记录
export function delMemoRecord(id) {
  return request({
    url: '/customer/memoRecord/' + id,
    method: 'delete'
  })
}
